<template>
  <div class="animati">
    <span class="padds">{{yess.id}}</span>
    <div class="bel">
    <van-switch v-if="yess.switch" v-model="checked" size="20px"/>
      <span>{{yess.explain}}</span><img src="../assets/images/right.png" />
    </div>
  </div>
</template>
<script>
export default {
    props:["yess"],
  data() {
    return {
        checked:true
    };
  },
  methods: {},
  mounted() {},
};
</script>

<style lang="less" scoped>
.animati {
  border-bottom: 1px solid #333E58;
  font-size: 26px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
  height:97px;
  .padds{
      margin-left:20px;
  }
  .bel{
      display: flex;
      align-items: center;
      margin-right:20px;
      img{
          margin-left:24px;
          width:17px;
          height:24px;
      }
  }
}
</style>
